package com.study.spmongodb.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author MI
 * @version 1.0
 * @date 2020/11/9 11:17
 */
@Slf4j(topic = "logAOP")
@Component
@Aspect
@Order(-1) // 保证该AOP在@Transactional之前执行
public class LogAop {

}


